package com.zst.http.forward.remote;

import io.netty.handler.codec.http.FullHttpRequest;
import io.netty.handler.codec.http.FullHttpResponse;

import java.util.concurrent.CompletableFuture;

public interface ForwardHandler {
    /**
     * 处理请求的转发
     * @param request 请求
     * @return
     */
    CompletableFuture<FullHttpResponse> doForward(FullHttpRequest request);
}
